﻿clc,clear
close all

disp("sum and multi");

n1 = 1;
n2 = 7;

disp(["n1=",num2str(n1),"    n2=",num2str(n2)]);

c = ceil(n1+eps):1:(floor(n2-eps)-1);
disp(["the sum is ",num2str(sum(c))]);
disp(["the multiply is ",num2str(prod(c))]);
